<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <style>
      h1{
        color: red;
        color: #00ff00;
        color: #00ff;
        color: rgb(195,45,23);
        color: rgba(255,0,0,0.3);
      }
      div{
        width: 200px;
        height: 200px;
        background-color: yellow;
        background-image: url("../1.jpg");
        /*设置背景图尺寸*/
        background-size: 100px 100px;
        /*禁止重复*/
        background-repeat: no-repeat;
        /*设置背景图片位置:横向偏移值  纵向偏移值*/
        background-position: 50px 100px;
        /*设置背景图片位置:横向百分比  纵向百分比*/
        background-position: 50% 50%;
      }
      #d1{
          width: 611px;
          height: 376px;
          background-color: #E8E8E8;
          background-image: url("http://doc.vrd.net.cn/tstore_v1/images/itemCat/study_computer_img1.png");
          background-size: 318px 319px;
          background-position: 90% 90%;
          background-repeat: no-repeat;
      }
    </style>
</head>
<body>
<div id="d1"></div>
<div></div>
<h1>颜色测试</h1>
</body>
</html>